package com.whc.orders.domain.vo;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;
import java.time.LocalDateTime;


@Data
@AllArgsConstructor
@NoArgsConstructor
@Builder
@ApiModel("订单vo类")
public class OrdersVo implements Serializable {
    private static final long serialVersionUID = 1L;
    private Long id;
    private Long buyerId;
    private Long addressId;
    private Double accountTotal;
    //这个属性用来关联，订单相关的商品
    private Long orderNumber;

    private LocalDateTime createTime;
    @ApiModelProperty("订单的状态，1、未付款 2、已付款,未发货 3、已发货,未确认 4、确认收货，交易成功 5、交易取消，订单关闭 6、交易结束，已评价")
    private Integer status;
}
